package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Generator;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;


@Table(name = "t_delivery_clerk")
public class DeliveryClerk extends BaseEntity {

    /**
     * 配送员注册
     **/
    private Integer id;
    /**
     * 账号
     **/
    private String account;
    /**
     * 身份证号
     **/
    private String identityCardNum;
    /**
     * 真实姓名
     **/
    private String name;
    /**
     * 手持身份证照
     **/
    private String handheldPhotos;
    /**
     * 身份证正面
     **/
    private String fontCard;
    /**
     * 身份证反面
     **/
    private String reverseCrad;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 状态
     **/
    private Integer disState;
    /**
     * 地址
     **/
    private String address;
    /**
     * 配送类型
     **/
    private Integer disType;
    /**
     * 城市id
     **/
    private Integer cityId;
    /**
     * 密码
     **/
    private String pwd;
    /**
     * 头像
     **/
    private String headPic;
    /**
     * 最后时间
     */
    private Date lastTime;
    /**
     * 配送员余额
     */
    private BigDecimal balance;
    /**
     * 是否实名认证
     * 0 否
     * 1 是
     **/
    private Integer isCertification;
    /**
     * 是否通过认证
     * 0 否
     * 1 是
     **/
    private Integer isCertificate;
    /**
     * 区域
     */
    private Integer areaId;
    /**
     * 省级
     */
    private Integer provinceId;
    /**
     * 最小级城市Id
     */
    private Integer minId;

    /**
     * 是否开始接单
     */
    private Integer isOpen;
    /**
     * 是否缴纳保证金  0未缴纳   1需要补交  2缴费完成
     */
    private Integer isPayment;
    /**
     * 保证金
     */
    private BigDecimal bail;

    /**
     * 配送员注册
     **/
    @Id
    @Generator
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 账号
     **/
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 身份证号
     **/
    public String getIdentityCardNum() {
        return identityCardNum;
    }

    public void setIdentityCardNum(String identityCardNum) {
        this.identityCardNum = identityCardNum;
    }

    /**
     * 真实姓名
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 手持身份证照
     **/
    public String getHandheldPhotos() {
        return handheldPhotos;
    }

    public void setHandheldPhotos(String handheldPhotos) {
        this.handheldPhotos = handheldPhotos;
    }

    /**
     * 身份证正面
     **/
    public String getFontCard() {
        return fontCard;
    }

    public void setFontCard(String fontCard) {
        this.fontCard = fontCard;
    }

    /**
     * 身份证反面
     **/
    public String getReverseCrad() {
        return reverseCrad;
    }

    public void setReverseCrad(String reverseCrad) {
        this.reverseCrad = reverseCrad;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 状态
     **/
    public Integer getDisState() {
        return disState;
    }

    public void setDisState(Integer disState) {
        this.disState = disState;
    }

    /**
     * 地址
     **/
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 配送类型
     **/
    public Integer getDisType() {
        return disType;
    }

    public void setDisType(Integer disType) {
        this.disType = disType;
    }

    /**
     * 城市id
     **/
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /**
     * 密码
     **/
    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    /**
     * 头像
     **/
    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getIsCertification() {
        return isCertification;
    }

    public void setIsCertification(Integer isCertification) {
        this.isCertification = isCertification;
    }

    public Integer getIsCertificate() {
        return isCertificate;
    }

    public void setIsCertificate(Integer isCertificate) {
        this.isCertificate = isCertificate;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getMinId() {
        return minId;
    }

    public void setMinId(Integer minId) {
        this.minId = minId;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Integer getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(Integer isPayment) {
        this.isPayment = isPayment;
    }

    public BigDecimal getBail() {
        return bail;
    }

    public void setBail(BigDecimal bail) {
        this.bail = bail;
    }
}